package com.example.ibsp_demo.pojo.entity.content;

import java.time.LocalDateTime;

public class ChannelHotStat {
    private Integer chid;
    private Integer cid; //channel id
    private double hotScore; // 热度得分
    private LocalDateTime statDate; //记录时间

    public ChannelHotStat() {
    }

    public ChannelHotStat(Integer chid, Integer cid, double hotScore, LocalDateTime statDate) {
        this.chid = chid;
        this.cid = cid;
        this.hotScore = hotScore;
        this.statDate = statDate;
    }

    @Override
    public String toString() {
        return "ChannelHotStat{" +
                "chid=" + chid +
                ", cid=" + cid +
                ", hotScore=" + hotScore +
                ", statDate=" + statDate +
                '}';
    }

    public Integer getChid() {
        return chid;
    }

    public void setChid(Integer chid) {
        this.chid = chid;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public double getHotScore() {
        return hotScore;
    }

    public void setHotScore(double hotScore) {
        this.hotScore = hotScore;
    }

    public LocalDateTime getStatDate() {
        return statDate;
    }

    public void setStatDate(LocalDateTime statDate) {
        this.statDate = statDate;
    }
}
